home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / button12.lha / button8906.ps < prev    next >
Text File  |  1993-08-05  |  4KB  |  94 lines

  1. % button8906.ps - A GNU Button Program
  2. % This program may be freely redistributed under the terms of the GNU
  3. % General Public License.
  4. % Copyright 1989 Free Software Foundation
  5. % This GNU Button program is distributed in the hope that it will be
  6. % useful, but WITHOUT ANY WARRANTY.  No author or distributor accepts
  7. % responsibility to anyone for the consequences of using it or for
  8. % whether it serves any particular purpose or works at all, unless he
  9. % says so in writing.  Refer to the GNU General Public License for
  10. % full details.
  11. % Everyone is granted permission to copy, modify and redistribute this
  12. % GNU Button Program, but only under the conditions described in the
  13. % GNU General Public License.  A copy of this license is supposed to
  14. % have been given to you along with this GNU Button Program so you can
  15. % know your rights and responsibilities.  It should be in a file named
  16. % COPYING.  Among other things, the copyright notice and this notice
  17. % must be preserved on all copies.
  18. % Hard copies of this button were first distributed at the June 1989
  19. % Baltimore Usenix.  They had black lettering on a green background on
  20. % a standard 2 1/4" safety pin button.  They were designed by Leonard
  21. % H. Tower Jr. who is also the author of this GNU Button Program.
  22. % Report bugs or improvements to: tower@prep.ai.mit.edu
  23. % Hard copies of this button are probably still available.  To get a
  24. % button, one must have either donated source code or documentation to
  25. % the GNU Project or make a donation of at least $ 2.00 for each
  26. % button.
  27. % If you wish a hard copy of a gnu button send:
  28. %     - a self-addressed, stamped envelope; and
  29. %     - either:
  30. %         - a reminder of your source or documentation contribution; or
  31. %         - a donation payable to the "Free Software Foundation"; and
  32. %     - specify which of these different versions you wish:
  33. %         Feb 88, June 88, Jan 89, and/or June 89
  34. % to:    L. Tower Jr.
  35. %     36 Porter Street Somerville, MA 02143, USA
  36. % This program is available for anonymous ftp
  37. % prep.ai.mit.edu:/u2/emacs/button.N.MM.shar.  It is probably
  38. % available in other source archives.
  39.  
  40. % Uses {in,out}sidecircletext routines from Adobe Cookbook.
  41. .so circtext.ps
  42.  
  43. % center button on 8 1/2" x 11" page
  44. 306 396 translate
  45.  
  46. % This is a kludge to give better edge resolution.
  47. % Note that postscript's scale command doesn't cut it.
  48. % It scales after the edges are set.
  49. % biggg is set to 2,3,4 or 3.9 to make a master that is that much larger.
  50. % The master is reduced that much by the button manufacturer.
  51. % If only 1200 dpi postscript printers were more common ...
  52. /biggg 1 def
  53.  
  54. gsave
  55.   /gnutext (GNU) def
  56.   /ertext (ist) def
  57.   /gnustpt 45 biggg mul def
  58.   /Times-Bold findfont gnustpt scalefont setfont
  59.   %center
  60.   % The "ist" is half the point size of the "GNU"
  61.   /erwidth ertext stringwidth pop 2 div def
  62.   /gnuwidth gnutext stringwidth pop def
  63.   % don't take the Ue kern out here
  64.   gnuwidth erwidth add 2 div neg 
  65.             gnustpt 6 div neg moveto
  66.   gnutext show
  67.   /Times-Bold findfont gnustpt 2 div scalefont setfont
  68.   (e) stringwidth pop 4 div neg 0 rmoveto
  69.   ertext show
  70. grestore
  71. /Times-Bold findfont 14 biggg mul scalefont setfont
  72. (GNU's Not Unix)
  73.   14 biggg mul 90 53 biggg mul outsidecircletext
  74. /Times-Roman findfont 7.5 biggg mul scalefont setfont
  75. (Copyright 1989 Free Software Foundation)
  76.   7.5 biggg mul 90 69 biggg mul outsidecircletext
  77. (Anonymous ftp this button's postscript)
  78.   7.5 biggg mul 270 55 biggg mul insidecircletext
  79. (program from prep.ai.mit.edu:/u/emacs/button.N.MM.shar)
  80.   7.5 biggg mul 270 64 biggg mul insidecircletext
  81. (This button design may be freely redistributed under the terms of the GNU General Public License.)
  82.   7.5 biggg mul 270 73 biggg mul insidecircletext
  83. showpage
  84.